package com.courseware.online.common;

import lombok.Getter;
import lombok.Setter;

/**
 * @author demos
 */
public class BusinessException extends RuntimeException{

    @Getter
    @Setter
    private int code;

    public BusinessException(int code, String msg) {
        super(msg);
        this.code = code;
    }
}
